\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
%
%
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0pt}%
\usetikzlibrary{automata}%

\begin{document}
\pagestyle{empty}
%
%
%

\enlargethispage{100cm}
% Start of code
\begin{tikzpicture}[>=latex',join=bevel,]
\tikzstyle{every state}=[draw=blue!50,very thick,fill=blue!20]%
\node (q0) at (192bp,810bp) [state] {$q_{0}$};
  \node (q1) at (192bp,722bp) [state] {$q_{1}$};
  \node (q9) at (164bp,18bp) [state] {$q_{9}$};
  \node (q5) at (27bp,370bp) [state] {$q_{5}$};
  \node (q7) at (27bp,194bp) [state] {$q_{7}$};
  \node (q4) at (30bp,458bp) [state] {$q_{4}$};
  \node (q3) at (41bp,546bp) [state] {$q_{3}$};
  \node (q8) at (27bp,106bp) [state] {$q_{8}$};
  \node (q2) at (83bp,634bp) [state] {$q_{2}$};
  \node (q6) at (27bp,282bp) [state] {$q_{6}$};
  \draw [->] (q1) ..controls (163bp,702bp) and (151bp,694bp)  .. (141bp,686bp) .. controls (129bp,676bp) and (116bp,666bp)  .. node[auto] {$\overline{shipper#shippingRequest}$} (q2);
  \draw [->] (q9) ..controls (224bp,28bp) and (277bp,39bp)  .. (291bp,54bp) .. controls (306bp,71bp) and (301bp,82bp)  .. (301bp,106bp) .. controls (301bp,634bp) and (301bp,634bp)  .. (301bp,634bp) .. controls (301bp,657bp) and (306bp,668bp)  .. (291bp,686bp) .. controls (275bp,704bp) and (250bp,713bp)  .. node[auto] {$ordering#placeOrder$} (q1);
  \draw [->] (q0) ..controls (192bp,780bp) and (192bp,764bp)  .. node[auto] {$ordering#placeOrder$} (q1);
  \draw [->] (q5) ..controls (27bp,340bp) and (27bp,324bp)  .. node[auto] {$invoiceProcessor###opaque$} (q6);
  \draw [->] (q7) ..controls (27bp,164bp) and (27bp,148bp)  .. node[auto] {$shippingRequester###opaque$} (q8);
  \draw [->] (q4) ..controls (28bp,428bp) and (28bp,412bp)  .. node[auto] {$shippingRequester###opaque$} (q5);
  \draw [->] (q3) ..controls (37bp,516bp) and (35bp,500bp)  .. node[auto] {$\overline{ordering#getOrderAck}$} (q4);
  \draw [->] (q8) ..controls (21bp,77bp) and (21bp,63bp)  .. (28bp,54bp) .. controls (41bp,39bp) and (92bp,28bp)  .. node[auto] {$\overline{orderingConfirmation#getOrderConfirmation}$} (q9);
  \draw [->] (q2) ..controls (68bp,604bp) and (60bp,587bp)  .. node[auto] {$shipper#shippingNotice$} (q3);
  \draw [->] (q6) ..controls (27bp,252bp) and (27bp,236bp)  .. node[auto] {$\overline{invoiceProcessor###opaque}$} (q7);
%
\end{tikzpicture}
% End of code

%
\end{document}
%


